﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.TD
{
    /// <summary>
    /// 调拨包明细
    /// </summary>
    [Table("TD_AllocatePackDetail")]
    public partial class TD_AllocatePackDetail
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 调拨单明细Id(TD_AllocateDetail)
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 调拨单Id(TD_Allocate)
        /// </summary>
        public String AllocateId { get; set; }

        /// <summary>
        /// 物料Id
        /// </summary>
        public String MaterialId { get; set; }

        /// <summary>
        /// 包Id
        /// </summary>
        public String PackId { get; set; }

        /// <summary>
        /// 包内物料数量
        /// </summary>
        public Double? PackNums { get; set; }

        /// <summary>
        /// 下架货位
        /// </summary>
        public String FormLocaId { get; set; }

        /// <summary>
        /// 上架货位
        /// </summary>
        public String ToLocaId { get; set; }

        /// <summary>
        /// 状态：0出库；1入库
        /// </summary>
        public Int32? Status { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 是否新旧：0-旧；1-新
        /// </summary>
        public int? OldOrNew { get; set; }

        /// <summary>
        /// 成品Id
        /// </summary>
        public String JobId { get; set; }


    }
}